Jump to content
  • 0

Разместить 3 колоки div-ами по горизонтали


Lykreziya
 Share

Question

Помогите пожалуйста полному чайнику :-). Нужно выровнять три слоя одинаковой высоты по горизонтали. Два крайних фиксированной ширины, средний - резиновый размер. Подскажите, пожалуйста, как лучше это сделать?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Попробовала, не получается ;)(. Вот код (если не лень посмотри):

quot;-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Неважно что

BODY {

background:#57E3FF;

}

.headerBlock {

margin:20 20 0 20px;

}

.headerBloc .topImage {

margin:0 25 0 25px;

padding:0;

float:left;

background-image: url(images/backgraund.gif) repeat-x;

height:183px;

width:100%;

}

.headerBloc .leftImage {

margin:0px;

padding:0px;

float:left;

background-image:url(images/left.gif);

height:183px;

width:25px;

}

.headerBloc .rightImage {

margin:0;

padding:0;

float:right;

background-image: url(images/right.gif);

height:183px;

width:25px;

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy